package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("monthly_settlement_log")
@ApiModel(value="MonthlySettlementLog对象", description="")
public class MonthlySettlementLog implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "申请结算的id")
    @TableField("parent_id")
    private Integer parentId;

    @ApiModelProperty(value = "结算金额")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty(value = "是否结算")
    @TableField("is_settlement")
    private Integer isSettlement;

    @ApiModelProperty(value = "处理意见")
    @TableField("opinion")
    private String opinion;

    @ApiModelProperty(value = "处理人")
    @TableField("handle_id")
    private String handleId;

    @ApiModelProperty(value = "结算时间")
    @TableField("handle_time")
    private Date handleTime;


}